package cn.d2005.attachdemo.model;

import java.io.Serializable;

public class Order implements  Serializable{

    private static final long serialVersionUID = 3091738589512930530L;
    private Integer orderNo;
    private String customerName;
    private Double totalMoney;
    private String createTime;
    private String attachFileName;
    private String attachFilePath;
    private Integer attachDownload;
    private String attachFilePathGroup;

    public Order(Integer orderNo, String customerName, Double totalMoney, String createTime, String attachFileName, String attachFilePath, Integer attachDownload, String attachFilePathGroup) {
        this.orderNo = orderNo;
        this.customerName = customerName;
        this.totalMoney = totalMoney;
        this.createTime = createTime;
        this.attachFileName = attachFileName;
        this.attachFilePath = attachFilePath;
        this.attachDownload = attachDownload;
        this.attachFilePathGroup = attachFilePathGroup;
    }

    public Order() {
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(Double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getAttachFileName() {
        return attachFileName;
    }

    public void setAttachFileName(String attachFileName) {
        this.attachFileName = attachFileName;
    }

    public String getAttachFilePath() {
        return attachFilePath;
    }

    public void setAttachFilePath(String attachFilePath) {
        this.attachFilePath = attachFilePath;
    }

    public Integer getAttachDownload() {
        return attachDownload;
    }

    public void setAttachDownload(Integer attachDownload) {
        this.attachDownload = attachDownload;
    }

    public String getAttachFilePathGroup() {
        return attachFilePathGroup;
    }

    public void setAttachFilePathGroup(String attachFilePathGroup) {
        this.attachFilePathGroup = attachFilePathGroup;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderNo=" + orderNo +
                ", customerName='" + customerName + '\'' +
                ", totalMoney=" + totalMoney +
                ", createTime='" + createTime + '\'' +
                ", attachFileName='" + attachFileName + '\'' +
                ", attachFilePath='" + attachFilePath + '\'' +
                ", attachDownload=" + attachDownload +
                ", attachFilePathGroup='" + attachFilePathGroup + '\'' +
                '}';
    }
}
